package com.jincheng.system.domain;


import com.jincheng.common.annotation.Excel;
import com.jincheng.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 用户信息对象 tb_registration
 *
 * @author DairyJay
 * @date 2024-12-29
 */
public class Registration extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * 报名ID
     */
    private Long registrationId;

    /**
     * 用户ID
     */
    @Excel(name = "用户ID")
    private Long userId;

    /**
     * 活动ID
     */
    @Excel(name = "活动ID")
    private Long activityId;

    /**
     * 是否签到
     */
    @Excel(name = "是否签到")
    private String isCheckin;

    /**
     * 是否签退
     */
    @Excel(name = "是否签退")
    private String isCheckout;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    private String delFlag;

    /**
     * 报名状态（0已审核通过，1已报名未审核,2已审核未通过,4已取消报名）
     */
    @Excel(name = "报名状态", readConverterExp = "0=已审核通过，1已报名未审核,2已审核未通过,4已取消报名")
    private String status;

    /**
     * 用户名
     */
    private String userName;


    /**
     * 用户昵称
     */
    private String nickName;

    /**
     * 部门ID
     */
    private Long deptId;

    /**
     * 活动名称
     */
    private String activityName;

    public void setRegistrationId(Long registrationId) {
        this.registrationId = registrationId;
    }

    public Long getRegistrationId() {
        return registrationId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setActivityId(Long activityId) {
        this.activityId = activityId;
    }

    public Long getActivityId() {
        return activityId;
    }

    public void setIsCheckin(String isCheckin) {
        this.isCheckin = isCheckin;
    }

    public String getIsCheckin() {
        return isCheckin;
    }

    public void setIsCheckout(String isCheckout) {
        this.isCheckout = isCheckout;
    }

    public String getIsCheckout() {
        return isCheckout;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public String getDelFlag() {
        return delFlag;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getStatus() {
        return status;
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getActivityName() {
        return activityName;
    }

    public void setActivityName(String activityName) {
        this.activityName = activityName;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("registrationId", getRegistrationId())
                .append("userId", getUserId())
                .append("activityId", getActivityId())
                .append("isCheckin", getIsCheckin())
                .append("isCheckout", getIsCheckout())
                .append("delFlag", getDelFlag())
                .append("createBy", getCreateBy())
                .append("createTime", getCreateTime())
                .append("updateBy", getUpdateBy())
                .append("updateTime", getUpdateTime())
                .append("remark", getRemark())
                .append("status", getStatus())
                .toString();
    }
}
